<?php

namespace app\admin\controller;

use app\admin\BaseController;

class IndexController extends BaseController
{
    public function index()
    {
        return view('index', ['user' => $this->user, 'name' => 1]);

    }

    public function home()
    {
        return view('home');
    }
}